package com.cjhhv.visual.service;

import com.cjhhv.visual.model.DashboardModel;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface DashboardService {

    public Map<String,Object> initDashboardAddData(String id);

    public int queryDashboardIsExist(DashboardModel parameter);

    public Map<String,Object> initDashboardListData();

    public PageInfo<DashboardModel> queryDashboardPageList(DashboardModel parameter);


    public DashboardModel queryDashboardById(String dashboardId);

    public DashboardModel saveDashboard(DashboardModel parameter);

    public int updateDashboardById(DashboardModel parameter);

    public int deleteDashboardByIds(DashboardModel parameter);
}
